Skip to content

[#1101] Fix JavaDoc Generation Errors/Warnings#1105

Merged
ThatSilentCoder merged 32 commits intomainfrom
v3_issue_1101_fix_javadoc_generation_error_warnings
Mar 30, 2026
Merged

[#1101] Fix JavaDoc Generation Errors/Warnings#1105
ThatSilentCoder merged 32 commits intomainfrom
v3_issue_1101_fix_javadoc_generation_error_warnings

Conversation

@ThatSilentCoder
Copy link
Copy Markdown
Contributor

@ThatSilentCoder ThatSilentCoder commented Feb 12, 2026

Description

Running ./gradlew javadoc on the main branch currently generates numerous errors across several modules. The objective of this task is to resolve these errors and warnings so that the Gradle command successfully generates JavaDocs for the HIRS application.


Test Instructions:

  1. Verify Gradle Build:
    Run ./gradlew javadoc to ensure that no errors are displayed during the generation process. Note that warnings will appear across most modules—each module may have around 100+ warnings. These warnings can generally be ignored, as they do not prevent Gradle from successfully generating the JavaDocs.

  2. Examine Generated JavaDocs:
    After running the command, review the generated JavaDocs to ensure that they are complete and properly formatted. Check that all relevant classes, methods, and fields are documented and that there are no missing or incomplete descriptions.

    HIRS_AttestationCA Complete JavaDocs Location:

    HIRS_AttestationCA/build/docs/javadoc/allclasses-index.html
    

    HIRS_AttestationCA Portal Complete JavaDocs Location:

    HIRS_AttestationCAPortal/build/docs/javadoc/allclasses-index.html
    

    HIRS_Utils Portal Complete JavaDocs Location:

    HIRS_Utils/build/docs/javadoc/allclasses-index.html
    
  3. Check for Inconsistent Formatting:
    Look for any inconsistencies in the JavaDoc formatting, such as missing tags (e.g., @param, @return, @throws), or incorrect HTML markup. Ensure that the overall style adheres to the project’s JavaDoc standards.


Issues This PR Addresses:

Closes #1101

@ThatSilentCoder ThatSilentCoder added the documentation New documentation request or improvement needed for existing documentation label Feb 12, 2026
@ThatSilentCoder ThatSilentCoder linked an issue Feb 12, 2026 that may be closed by this pull request
@ThatSilentCoder ThatSilentCoder added the cleanup Cleaning up/re-organizing code label Feb 12, 2026
…arnings

# Conflicts:
#	HIRS_AttestationCAPortal/src/test/java/hirs/attestationca/portal/page/controllers/TrustChainManagementPageControllerTest.java
#	HIRS_Utils/src/main/java/hirs/utils/rim/unsignedRim/GenericRim.java
#	HIRS_Utils/src/main/java/hirs/utils/rim/unsignedRim/cbor/ietfCoswid/CoswidBuilder.java
#	build.gradle
…ontinue addressing more warnings from the utils module.
@ThatSilentCoder ThatSilentCoder marked this pull request as ready for review February 17, 2026 21:30
Copy link
Copy Markdown
Collaborator

@iadgovuser59 iadgovuser59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay on this.

I would say that my hesitation here might be the somewhat large number of refactoring/cleanup changes and lines of code (>3000 changed/removed) vs. Javadoc-specific changes to remove errors/warnings by themselves. I'd say it might be a good idea to split the refactoring/cleanup from the Javadoc-specific resolutions perhaps for a more compact PR size.

@ThatSilentCoder
Copy link
Copy Markdown
Contributor Author

Sorry for the delay on this.

I would say that my hesitation here might be the somewhat large number of refactoring/cleanup changes and lines of code (>3000 changed/removed) vs. Javadoc-specific changes to remove errors/warnings by themselves. I'd say it might be a good idea to split the refactoring/cleanup from the Javadoc-specific resolutions perhaps for a more compact PR size.

I have followed your advice and moved the refactor/cleanup changes to PR #1151. Once that PR has been approved and merged into main, the num of files changed in this PR should drastically go down.

@ThatSilentCoder ThatSilentCoder dismissed iadgovuser59’s stale review March 30, 2026 19:40

Addressed review comments made by user and changes have been approved by another party. This error is blocking me from merging changes into main.

@ThatSilentCoder ThatSilentCoder merged commit b08ae4d into main Mar 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Cleaning up/re-organizing code documentation New documentation request or improvement needed for existing documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaDocs Generation Error

3 participants